#ifndef TITLEBAR_H
#define TITLEBAR_H

#include <QWidget>
#include <QFile>
#include <QDebug>
#include "settingmanage.h"
namespace Ui {
class TitleBar;
}

class TitleBar : public QWidget
{
    Q_OBJECT

public:
    explicit TitleBar(QWidget *parent = nullptr);
    ~TitleBar();
    void loadStyleSheet(const QString &CssPath);
public slots:
    void onClose();
    void onMinSized();
    void onMaxSized();
private:
    Ui::TitleBar *ui;
    SettingManage m_settingManage;
};

#endif // TITLEBAR_H
